# $NetBSD$

DISTNAME=	libopenshot-0.2.7
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=OpenShot/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	root@zta.lk
HOMEPAGE=	https://www.openshot.org/libopenshot/
COMMENT=	Powerful, cross-platform open-source C++ video editing library
LICENSE=	gnu-lgpl-v3

USE_CMAKE=	yes
USE_LANGUAGES=	c c++

PYTHON_VERSIONS_INCOMPATIBLE=	27

DEPENDS+=	swig4>=4.0.0:../../wip/swig4

PLIST_SUBST+=	PYSITELIB=${PYSITELIB}

.include "../../multimedia/ffmpeg4/buildlink3.mk"
.include "../../audio/alsa-lib/buildlink3.mk"
.include "../../net/cppzmq/buildlink3.mk"
.include "../../wip/libopenshot-audio/buildlink3.mk"
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtmultimedia/buildlink3.mk"
.include "../../devel/unittest-cpp/buildlink3.mk"

.include "../../lang/python/pyversion.mk"
.include "../../lang/ruby/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
